Optimal. Leaf size=50 \[ \frac {1}{6 \sqrt {3} e \sqrt {2-e x}}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{12 \sqrt {3} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {641, 53, 65,
212} \begin {gather*} \frac {1}{6 \sqrt {3} e \sqrt {2-e x}}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{12 \sqrt {3} e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 212
Rule 641
Rubi steps
\begin {align*} \int \frac {\sqrt {2+e x}}{\left (12-3 e^2 x^2\right )^{3/2}} \, dx &=\int \frac {1}{(6-3 e x)^{3/2} (2+e x)} \, dx\\ &=\frac {1}{6 \sqrt {3} e \sqrt {2-e x}}+\frac {1}{12} \int \frac {1}{\sqrt {6-3 e x} (2+e x)} \, dx\\ &=\frac {1}{6 \sqrt {3} e \sqrt {2-e x}}-\frac {\text {Subst}\left (\int \frac {1}{4-\frac {x^2}{3}} \, dx,x,\sqrt {6-3 e x}\right )}{18 e}\\ &=\frac {1}{6 \sqrt {3} e \sqrt {2-e x}}-\frac {\tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{12 \sqrt {3} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 83, normalized size = 1.66 \begin {gather*} \frac {-2 \sqrt {4-e^2 x^2}-(-2+e x) \sqrt {2+e x} \tanh ^{-1}\left (\frac {2 \sqrt {2+e x}}{\sqrt {4-e^2 x^2}}\right )}{12 e (-2+e x) \sqrt {6+3 e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.49, size = 60, normalized size = 1.20
method | result | size |
default | \(\frac {\sqrt {-3 e^{2} x^{2}+12}\, \left (\sqrt {3}\, \arctanh \left (\frac {\sqrt {-3 e x +6}\, \sqrt {3}}{6}\right ) \sqrt {-3 e x +6}-6\right )}{108 \sqrt {e x +2}\, \left (e x -2\right ) e}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 105 vs.
\(2 (36) = 72\).
time = 3.78, size = 105, normalized size = 2.10 \begin {gather*} \frac {\sqrt {3} {\left (x^{2} e^{2} - 4\right )} \log \left (-\frac {3 \, x^{2} e^{2} - 12 \, x e + 4 \, \sqrt {3} \sqrt {-3 \, x^{2} e^{2} + 12} \sqrt {x e + 2} - 36}{x^{2} e^{2} + 4 \, x e + 4}\right ) - 4 \, \sqrt {-3 \, x^{2} e^{2} + 12} \sqrt {x e + 2}}{72 \, {\left (x^{2} e^{3} - 4 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\sqrt {3} \int \frac {\sqrt {e x + 2}}{- e^{2} x^{2} \sqrt {- e^{2} x^{2} + 4} + 4 \sqrt {- e^{2} x^{2} + 4}}\, dx}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.73, size = 57, normalized size = 1.14 \begin {gather*} -\frac {1}{72} \, \sqrt {3} e^{\left (-1\right )} \log \left (\sqrt {-x e + 2} + 2\right ) + \frac {1}{72} \, \sqrt {3} e^{\left (-1\right )} \log \left (-\sqrt {-x e + 2} + 2\right ) + \frac {\sqrt {3} e^{\left (-1\right )}}{18 \, \sqrt {-x e + 2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {e\,x+2}}{{\left (12-3\,e^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________